<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">
	<span class="color_red">*</span>项目人员情况
	<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
	<!-- <span style="font-size: 12px;font-weight: normal;">
		（如果您需要修改申请人信息， 请保存申请书后点击菜单“管理”>“个人信息维护”完成修改）
	</span> -->
	</security:authorize>
</div>
	<table  id="zh_persons" border="0" cellspacing="0" cellpadding="0" class="table01" >
		<thead>
			<tr>
             <th width="7%" >选择</th>
             <th width="5%">序号</th>
				<th width="10%">姓名</th>
				<th width="10%">从事专业</th>
				<th width="10%">出生年月</th>
				<th width="10%">职务/职称</th>
				<th width="8%">学历</th>
				<th width="10%" >项目分工</th>
				<th width="10%">每年工作时间（月）</th>
				<th width="20%">所在单位</th>
			</tr>
		</thead>
		<tbody id="tab">
			<tr style="display: none">
				<td  align="center"  width="50px" >
					<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|ethnicity_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|ethnicity_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|subject_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|subject_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|discipline_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|discipline_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|region_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|region_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_type_value" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|academician_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|academician_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|org_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|contact|tel_work" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|contact|fax" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_country_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_country_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_college" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_year" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|address" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|prof_title" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|prof_title_value" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_doctor_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_doctor_name"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|birth_date"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|gender_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|age"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|educate_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|iscomember" value="0"/>
					<input type="hidden" name="zh_persons|zh_person[0]|researches" label="xml"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_type_name" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_code"/>
					<input type="hidden" name="zh_persons|zh_person[0]|contact|email"/>
					<input type="hidden" name="zh_persons|zh_person[0]|contact|mobile"/>
					<!-- <input type="hidden" name="zh_persons|zh_person[0]|work_months"/> -->
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]@seq_no">[index]</span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|zh_name"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|contact|major_work"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|birthday"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|position"></span>/<span name="zh_persons|zh_person[0]|basic_info|prof_title_name"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|educate_name"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|work" ></span>
				</td>
				<td align="center">
					  <span  name="zh_persons|zh_person[0]|work_months" ></span>  
				</td>
				<td align="center">
					<span  name="zh_persons|zh_person[0]|basic_info|org_name" ></span>
				</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/zh_persons/zh_person" var="zh_person">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td  align="center"  width="50px" >
						<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" /> 
						<c:if test="${index==0}">
							<input type="hidden" id="submit_psn" name="zh_persons/zh_person[${flag}${index}]@submit_psn" value="1" />
							<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/psn_code" value="<x:out select="$zh_person/basic_info/psn_code" />"/>
						</c:if>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/en_name" value="<x:out select="$zh_person/basic_info/en_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_value" value="<x:out select="$zh_person/basic_info/ethnicity_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_name" value="<x:out select="$zh_person/basic_info/ethnicity_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_code" value="<x:out select="$zh_person/basic_info/subject_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_name" value="<x:out select="$zh_person/basic_info/subject_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_code" value="<x:out select="$zh_person/basic_info/discipline_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_name" value="<x:out select="$zh_person/basic_info/discipline_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_value" value="<x:out select="$zh_person/basic_info/region_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_name" value="<x:out select="$zh_person/basic_info/region_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_value" value="<x:out select="$zh_person/basic_info/gender_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_value" value="<x:out select="$zh_person/basic_info/card_type_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_value" value="<x:out select="$zh_person/basic_info/academician_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_name" value="<x:out select="$zh_person/basic_info/academician_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/org_code" value="<x:out select="$zh_person/basic_info/org_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/tel_work" value="<x:out select="$zh_person/contact/tel_work" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/fax" value="<x:out select="$zh_person/contact/fax" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_value" value="<x:out select="$zh_person/basic_info/degree_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_name" value="<x:out select="$zh_person/basic_info/degree_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_code" value="<x:out select="$zh_person/basic_info/post_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_value" value="<x:out select="$zh_person/basic_info/degree_country_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_name" value="<x:out select="$zh_person/basic_info/degree_country_name" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_college" value="<x:out select="$zh_person/basic_info/degree_college" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_year" value="<x:out select="$zh_person/basic_info/degree_year" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title" value="<x:out select="$zh_person/basic_info/prof_title" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_value" value="<x:out select="$zh_person/basic_info/prof_title_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/address" value="<x:out select="$zh_person/basic_info/address" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_value" value="<x:out select="$zh_person/basic_info/post_doctor_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_name" value="<x:out select="$zh_person/basic_info/post_doctor_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/age" value="<x:out select="$zh_person/basic_info/age" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_value" value="<x:out select="$zh_person/basic_info/educate_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_code" value="<x:out select="$zh_person/basic_info/card_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_name" value="<x:out select="$zh_person/basic_info/card_type_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/email" value="<x:out select="$zh_person/contact/email" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/mobile" value="<x:out select="$zh_person/contact/mobile" />"/>
<%-- 						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/work_months" value="<x:out select="$zh_person/work_months" />"/>
 --%>						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/iscomember" value="0"/>
						
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/researches" label="xml"/>
					</td>
					<td align="center">
					<span name="zh_persons/zh_person[${flag}${index}]@seq_no">${index+1}</span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/zh_name"><x:out select="$zh_person/basic_info/zh_name" /></span>
						<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
						<c:if test="${index==0 }"><a href="###" class="Blue" style="text-decoration: none;" onclick="selectFirstRadio(this);editRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_sxry?parentTab=zh_persons&type=edit&needMeetingInfo=${param.needMeetingInfo}&psnCode=<x:out select="$zh_person/basic_info/psn_code" />&TB_iframe=true&height=440&width=900','编辑项目参与人信息')">[&nbsp;设置&nbsp;]</a></c:if>
						</security:authorize>
					</td>
					<td align="center">					
						<span name="zh_persons/zh_person[${flag}${index}]/contact/major_work"><x:out select="$zh_person/contact/major_work" /></span>
						
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/birthday"><x:out select="$zh_person/basic_info/birthday" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/position"><x:out select="$zh_person/basic_info/position" /></span>/<span name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_name"><x:out select="$zh_person/basic_info/prof_title_name" /></span>
					</td>
					<td align="center"> 
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_name"><x:out select="$zh_person/basic_info/educate_name" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/work"><c:choose><c:when test="${index==0}">项目负责人</c:when><c:otherwise><x:out select="$zh_person/basic_info/work" /></c:otherwise></c:choose></span>
					</td>
					<td align="center">
					<c:if test="${index == 0}">
							<input type="text"  label="每年工作时间（月）"  name="zh_persons/zh_person[0]/work_months" value="<x:out select="$zh_person/work_months" />"
				  				class="input_text required valueLENum:work_months:12" style="text-align: right;width: 80%;" onfocus="InitInput.setNumber(this,2,1,1);"/>
				  </c:if>
				 	 <c:if test="${index != 0}">
						 	<span name="zh_persons/zh_person[${flag}${index}]/work_months"><x:out select="$zh_person/work_months" /></span>
						</c:if>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/org_name"><x:out select="$zh_person/basic_info/org_name" /></span>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>
<br/>
	<table border="0" cellpadding="0" cellspacing="1">
		<tr>
			<td>
				<input class="button_02" type="button" value="添加" onclick="if(checkTabLimit('zh_persons',99,'项目参与人员最多只能填写99条')){addNewRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_xyzdjxm?parentTab=zh_persons&type=add&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','添加项目参与人');}try{top.resizeFrame();}catch(e){};">
				&nbsp;<input class="button_02"  id="zh_psnPrev" type="button" value="上移" onclick="movePrev('zh_persons');setSubmitPsn()">
				&nbsp;<input class="button_02"  id="zh_psnNext" type="button" value="下移" onclick="moveNext('zh_persons');setSubmitPsn()">
				&nbsp;<input class="button_02"  id="zh_psnEdit" type="button" value="编辑" onclick="if(checkSubmitPsn('zh_persons'))editRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_xyzdjxm?parentTab=zh_persons&type=edit&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','编辑项目参与人信息')">
				&nbsp;<input class="button_02"  id="zh_psnDel" type="button" value="删除" onclick="deleteSelectedRow('zh_persons','人员信息');"></td>
		</tr>
		</tbody>
		<tfoot>
		</tfoot>
	</table>
	  <br/>
	  
	  <div class="t_bar">
			<span class="color_red">*</span>技术负责人情况 
	  </div>
	  <table  id="tec_fzr" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" >
	  	<col width="10%"/>
	  	<col width="16%"/>
	  	<col width="10%"/>
	  	<col width="16%"/>
	  	<col width="10%"/>
	  	<col width="17%"/>
			 <tr>
			 	<td align="right">
			 		姓名：
			 	</td>
				 <td>
				 	<input type="text"  name="zh_persons/tec_fzr/cname" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/cname"/>" class="input_css required maxlength:20" maxlength="20" style="width:80%;" label="姓名"/>
				 </td>
				 <td align="right">
			 		性别：
			 	</td>
				<td>
					<input type="radio" id="gender_1" name="gender" label="男"  value="01" class="do"  />男
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="radio" id="gender_2" name="gender"  label="女" value="02"  class="do" />女
					<input type="hidden" name="zh_persons/tec_fzr/gender_value" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/gender_value"/>" label="性别" class="required" />
					<input type="hidden" name="zh_persons/tec_fzr/gender_name"  value="<x:out select="$xmlData/data/zh_persons/tec_fzr/gender_name"/>" />
			 	</td>
			 	<td align="right">
			 		身份证号：
			 	</td>
				 <td>
				 	<input type="text"  name="zh_persons/tec_fzr/card_code" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/card_code"/>" class="input_css required maxlength:20 idCard" maxlength="20" style="width:80%;" label="身份证号"/>
				 </td>
			 </tr>
			 <tr>
			 	<td align="right">
			 		学历：
			 	</td>
				 <td>
				 	<c:set var="educate_value"><x:out select="$xmlData/data/zh_persons/tec_fzr/educate_value"/></c:set>
				 	<cpt:select id="educate"  key="educate"  name="educate" value="${educate_value }" style="width:162px;"></cpt:select>
					<input type="hidden" name="zh_persons/tec_fzr/educate_value"  class="required" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/educate_value"/>" label="学历">
					<input type="hidden" name="zh_persons/tec_fzr/educate_name" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/educate_name"/>">
				 </td>
				 <td align="right">
			 		职位：
			 	</td>
				 <td>
				 	<input type="text"  name="zh_persons/tec_fzr/position" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/position"/>" class="input_css required maxlength:20" maxlength="20" style="width:80%;" label="职位"/>
				 </td>
				  <td align="right">
			 		手机：
			 	</td>
				 <td>
				 	<input type="text"  name="zh_persons/tec_fzr/mobile" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/mobile"/>" class="input_css required maxlength:11 mobile" onfocus="InitInput.setNumber(this,11,0,0)" maxlength="11" style="width:80%;" label="手机"/>
				 </td>
			 </tr>
			 <tr>
			 	<td align="right">
			 		专业：
			 	</td>
				 <td colspan="3">
				 	<input type="text"  name="zh_persons/tec_fzr/major_work" value ="<x:out select="$xmlData/data/zh_persons/tec_fzr/major_work"/>" class="input_css required maxlength:50" maxlength="50" style="width:93%;" label="专业"/>
				 </td>
				 <td align="right">
			 		职称：
			 	</td>
				 <td >
				 	<c:set var="prof_title">{'id':'<x:out select="$xmlData/data/zh_persons/tec_fzr/prof_title_value"/>','name':'<x:out select="$xmlData/data/zh_persons/tec_fzr/prof_title_name"/>'}</c:set>
	          	<cpt:tree key="prof_title" cacheable="false" className="" readonly="true" value="${prof_title}" label="职称"  width="125px" id="prof_title" name="prof_title" showPattern="all" shieldPattern="0" onClick="initTreeValueExt"/>
		        	<input type="hidden" id="prof_title_value" name="zh_persons/tec_fzr/prof_title_value" class="required" label="职称" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/prof_title_value"/>" />
	            <input type="hidden" id="prof_title_name"  name="zh_persons/tec_fzr/prof_title_name" value="<x:out select="$xmlData/data/zh_persons/tec_fzr/prof_title_name"/>" />
				 </td>
			 </tr>
		</table>
	  
	  <br/>
	  <div class="t_bar"><span class="color_red">*</span>技术负责人简介（限300字）</div>
	 <table class="t_css" width="100%" border="0" cellpadding="0"  id="tblresume"
	    cellspacing="1">
      <tr class="li_2">
          <td>
			<textarea rows="15" style="width: 898px;" class="input_textarea required maxlength:300 "   name='proposal/goal/resume'  label="技术负责人简介"><x:out select="$xmlData/data/proposal/goal/resume"/></textarea>
		   <input type='hidden' name='proposal/goal/resume_hidden' id='proposal/goal/resume_hidden' value=''>
		  </td>
      </tr>
    </table>
    
<script type="text/javascript">
		function selectFirstRadio(obj) {
			$(obj).parent('td').parent('tr').find('input[type="radio"]').attr("checked","checked");
			setSubmitPsn();
		}
		function checkSubmitPsn(tableId){
			<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
			var tr=$("#"+tableId+" :radio:checked").parents("tr");
			if(tr.length!=0 && tr.get(0).rowIndex==2){
				scmWarn('如果您需要修改申请人信息， 请保存申请书后点击菜单“管理”>“个人信息维护”完成修改');
				return false;
			}
			</security:authorize>
			
			return true;
				
		}
		
		function psnSynchro(){
			$("span[name$='fzr_psnname']").text($("#zh_persons tr:eq(2)").find("span[name$='basic_info/zh_name']").text());
			$("span[name$='fzr_tel']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/tel_work']").val());
			$("span[name$='fzr_mobile']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/mobile']").val());
			$("span[name$='fzr_mail']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/email']").val());
		}


	function initTreeValueExt(treeId, treeNode) {
	   
	  if (!(treeNode && (treeNode.level > 0 || !treeNode.isParent))) {
		scmWarn($("#" + treeId).attr("label") + messageTip.researchAreaInvalidDisciplineCode);
		if (treeNode.level == 0) {
			$("#" + treeId).val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId+ "_code']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId+ "_value']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId+ "_name']").val("");
		}
		return false;
		}
		var str = treeNode.name;
		var obj = treeNode.parentNode;
		while (obj != null) {
			obj = obj.parentNode;
		}
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId+ "_code']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId+ "_value']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId+ "_name']").val(str);
		
	}
</script>